package com.liaowei.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liaowei.model.domain.Tag;
import com.liaowei.model.domain.UserTag;

import java.util.List;

/**
* @author LindaMan
* @description 针对表【wy_user_tag(用户-标签表)】的数据库操作Mapper
* @createDate 2023-05-01 17:19:40
* @Entity com.liaowei.user.model.domain.UserTag
*/
public interface UserTagMapper extends BaseMapper<UserTag> {

    // 查询自己的兴趣标签
    List<Tag> selectInterestTagList(long userId);

    // 根据userId删除兴趣标签
    int deleteUserTagByUserId(long userId);

}




